<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<title><s:text name="辅助属性组" />
		</title>
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="this is my page">
		<meta http-equiv="content-type" content="text/html; charset=UTF-8">
		<link rel="stylesheet" type="text/css" href="css/public.css">
		<script type="text/javascript" src="js/sorttable.js"></script>
		<script language="JavaScript" src="js/public.js"></script>
		<script type="text/javascript" src="js/date1.js"></script>
		<script type="text/javascript" src="js/validate.js"></script>
		<script type="text/javascript">
	function validate() {
		var measureGroupCode = document.getElementById("measureGroupCode");
		var measureGroupName = document.getElementById("measureGroupName");
		if (!isNotNull(measureGroupCode, '代码')
				|| !f_check_NumOrLett(measureGroupCode, '代码'))
			return false;
		if (!isNotNull(measureGroupName, '名称'))
			return false;
	}
	
</script>
	</head>

	<body>
		<div id="info_all" style="width: 294px;">
			<div id="info_top">
				<s:text name="辅助属性组"></s:text>
			</div>
			<s:form action="editAttributeBasicType.action" method="post"
				theme="simple" onsubmit="return validate()">
				<div style="padding: 4px; width: 280px; margin-top: 6px;">
					<table
						style="margin-top: 10px; background: #fbfbfb; color: #403040;"
						align="center">
						<tr>
							<td>
								<s:text name="代码:" />
							</td>
							<td>
								<s:textfield name="typeModel.assistantAttributeTypeCode"
									size="12" id="measureGroupCode" maxlength="15"/>
								<s:hidden name="typeModel.assistantAttributeTypeId"></s:hidden>
							</td>
						</tr>
						<tr>
							<td>
								<s:text name="名称:" />
							</td>
							<td>
								<s:textfield name="typeModel.assistantAttributeTypeName"
									size="12" id="measureGroupName" maxlength="15"/>
							</td>
						</tr><!--
						<tr>
							<td>
								<s:text name="类别:" />
							</td>
							<td>
								<s:select list="#{'0':'基本类','1':'组合类'}" name="typeModel.attributeBasicType"></s:select>
							</td>
						</tr>
					--></table>
					<div style="margin: 6px; text-align: center;">
						<s:submit value="保存" onfocus="this.blur()"
							onmouseover="this.className='btnover'"
							onmouseout="this.className='btnout'" id="btnsize" />

						<input type="button" value="返回" onClick="history.go(-1)"
							onFocus="this.blur()" onmouseover="this.className='btnover'"
							onmouseout="this.className='btnout'" class="btnsize" />
					</div>
				</div>
			</s:form>
		</div>

	</body>
</html>

